package com.amado.course43awt;

import java.awt.*;
public class KuGoo2007 extends Frame
{
	KuGoo2007(String name)
	{
		super(name);
		Panel pCenter = new Panel();
		Panel pUp = new Panel();
		Panel pUpRight = new Panel();
		Panel pUpDown = new Panel();
		Panel pUpCenter = new Panel();
		Panel pDown = new Panel();
		Panel pDownCenter = new Panel();
		Panel pCenterUp = new Panel();
		Panel pUpRightTemp = new Panel();
		Panel pCenterLeft = new Panel();
		Panel pCenterCenter = new Panel();
		Panel pCenterCenterCenter = new Panel();
		Panel pCenterCenterUp = new Panel();
		Panel pCenterLeftUp = new Panel();
		Panel pCenterLeftCenter = new Panel();
		Panel pCenterLeftDown = new Panel();
		Panel pCenterUpTemp = new Panel();
		Panel pCenterCenterCenterLeft = new Panel();
		Panel pCenterCenterCenterLeftLeft = new Panel();
		Panel pCenterCenterCenterLeftCenter = new Panel();
		Panel pCenterCenterCenterCenter = new Panel();
		Panel pCenterCenterCenterRight = new Panel();
		Panel pCenterCenterCenterRightLeft = new Panel();
		Panel pCenterCenterCenterRightCenter = new Panel();
		Panel pCenterCenterCenterLeftRight=new Panel();
		Panel pCenterCenterCenterLeftRightLeft = new Panel();
		Panel pCenterCenterCenterLeftRightCenter = new Panel();
		
		setLayout(new BorderLayout());
		add(pUp,BorderLayout.NORTH);
		add(pDown,BorderLayout.SOUTH);
		add(pCenter,BorderLayout.CENTER);
		add(new Panel(),BorderLayout.EAST);
		add(new Panel(),BorderLayout.WEST);
		
		pUp.setLayout(new BorderLayout());
		pUp.add(new Panel(),BorderLayout.NORTH);
		pUp.add(new Panel(),BorderLayout.SOUTH);
		pUp.add(pUpCenter,BorderLayout.CENTER);
		pUp.add(pUpRightTemp,BorderLayout.EAST);

		pUpCenter.setLayout(new FlowLayout(FlowLayout.LEFT,13,1));
		pUpCenter.add(new Button("←"));
		pUpCenter.add(new Button("→"));
		pUpCenter.add(new Button("┻"));
		pUpCenter.add(new Button("╄"));
		Choice cho = new Choice();
		cho.add(" 阿杜                                                          ");
		cho.add(" 阿牛");
		pUpCenter.add(cho);
		pUpCenter.add(new Button("音乐搜索"));
		pUpCenter.add(new Button(" VIP 搜索"));
		pUpCenter.add(new Button("歌手列表"));
		pUpRightTemp.setLayout(new BorderLayout());
		pUpRightTemp.add(new Panel(),BorderLayout.EAST);
		pUpRightTemp.add(pUpRight,BorderLayout.CENTER);
		pUpRight.setLayout(new GridLayout(2,1));
		pUpRight.add(new Label ("enjoy_java (392200829)    "));
		pUpRight.add(new Label ("等级 8     积分 39220 "));

		pCenter.setLayout(new BorderLayout(2,2));
		pCenter.add(pCenterUpTemp,BorderLayout.NORTH);
		pCenter.add(pCenterLeft,BorderLayout.WEST);
		pCenter.add(pCenterCenter,BorderLayout.CENTER);
			
		pCenterUpTemp.setLayout(new BorderLayout());
		pCenterUpTemp.add(new Panel(),BorderLayout.WEST);
		pCenterUpTemp.add(new Panel(),BorderLayout.NORTH);
//		pCenterUpTemp.add(new Panel(),BorderLayout.SOUTH);
		pCenterUpTemp.add(new Panel(),BorderLayout.EAST);
		pCenterUpTemp.add(pCenterUp,BorderLayout.CENTER);
		pCenterUp.setLayout(new GridLayout(2,6));
		pCenterUp.add(new Button("播放列表     "));
		pCenterUp.add(new Button("下载管理    "));
		pCenterUp.add(new Button("音乐首页    "));
		pCenterUp.add(new Button("阿杜(128,100%)"));
		pCenterUp.add(new Panel());
		pCenterUp.add(new Panel());
		Panel tempPanel = new Panel();
		tempPanel.setLayout(new GridLayout(2,8));
		tempPanel.add(new Panel());
		tempPanel.add(new Panel());
		tempPanel.add(new Panel());
		tempPanel.add(new Panel());
		tempPanel.add(new Panel());
		tempPanel.add(new Panel()); 
		tempPanel.add(new Panel());
		tempPanel.add(new Panel());

		tempPanel.add(new Panel());
		tempPanel.add(new Panel());
		tempPanel.add(new Panel());
		tempPanel.add(new Panel());
		tempPanel.add(new Panel());
		tempPanel.add(new Panel());
		tempPanel.add(new Button("←"));
		tempPanel.add(new Button("→"));
		pCenterUp.add(tempPanel);
		pCenterUp.add(new Panel());
		pCenterUp.add(new Panel());
		pCenterUp.add(new Panel());
		pCenterUp.add(new Label("有0个文件正在下载"));
		pCenterUp.add(new Panel());
		pCenterUp.add(new Label("下载总速度: 0 k"));
		Panel tempPanel2 = new Panel();
		pCenterUp.add(tempPanel2);

		pCenterCenter.setLayout(new BorderLayout());
		pCenterCenter.add(pCenterCenterUp,BorderLayout.NORTH);
		pCenterCenter.add(pCenterCenterCenter,BorderLayout.CENTER);

		pCenterCenterUp.setLayout(new FlowLayout());
		pCenterCenterUp.add(new Label("             文件名                     "));
		pCenterCenterUp.add(new Label(" 速度 "));
		pCenterCenterUp.add(new Label(" 添加 "));
		pCenterCenterUp.add(new Label("     进度    "));
		pCenterCenterUp.add(new Label("估计剩余时间"));
		pCenterCenterUp.add(new Label("用户账号"));
		pCenterCenterUp.add(new Label("状态"));
		pCenterCenterUp.add(new Label("已下载/总共"));
		

		pCenterLeft.setLayout(new BorderLayout());
		pCenterLeft.add(pCenterLeftUp,BorderLayout.NORTH);
		pCenterLeft.add(pCenterLeftCenter,BorderLayout.CENTER);
		pCenterLeft.add(pCenterLeftDown,BorderLayout.SOUTH);
		pCenterLeftUp.setLayout(new BorderLayout(1,1));
		pCenterLeftUp.add(new Label("本地硬盘"));

		pCenterLeftCenter.setLayout(new GridLayout(20,1));
		pCenterLeftCenter.add(new Panel());
		pCenterLeftCenter.add(new Label("-- 下载管理"));
		pCenterLeftCenter.add(new Label("┖┄ 正在下载"));
		pCenterLeftCenter.add(new Label("┖┄ 试听传输"));
		pCenterLeftCenter.add(new Label("┖┄ 节目下载"));
		pCenterLeftCenter.add(new Label("┖┄ HTTP 下载"));
		pCenterLeftCenter.add(new Panel());
		pCenterLeftCenter.add(new Label("--下载历史"));
		pCenterLeftCenter.add(new Label("┖┄ 今天下载"));
		pCenterLeftCenter.add(new Label("┖┄ 昨天下载"));
		pCenterLeftCenter.add(new Label("┖┄ 本周下载"));
		pCenterLeftCenter.add(new Label("┖┄ 本月下载"));
		pCenterLeftCenter.add(new Label("┖┄ 全部下载"));
	
		Panel tempPanel3 = new Panel();
		tempPanel3.setLayout(new GridLayout(1,1));
		pCenterLeftDown.setLayout(new BorderLayout());
		tempPanel3.add(new Label("推荐歌曲"));
		pCenterLeftCenter.add(tempPanel3,BorderLayout.NORTH);
		pCenterLeftCenter.add(new Panel(),BorderLayout.CENTER);
		
		pCenterCenterCenter.setLayout(new BorderLayout());
		pCenterCenterCenter.add(pCenterCenterCenterLeft,BorderLayout.WEST);
		pCenterCenterCenter.add(pCenterCenterCenterCenter,BorderLayout.CENTER);
		pCenterCenterCenter.add(pCenterCenterCenterRight,BorderLayout.EAST);
		
	
		pCenterCenterCenterLeft.setLayout(new BorderLayout());
		pCenterCenterCenterLeft.add(pCenterCenterCenterLeftLeft,BorderLayout.WEST);
		pCenterCenterCenterLeft.add(pCenterCenterCenterLeftCenter,BorderLayout.CENTER);
//		pCenterCenterCenterLeft.add(pCenterCenterCenterLeftRight,BorderLayout.EAST);
		pCenterCenterCenterLeftLeft.setLayout(new GridLayout(20,1));
		pCenterCenterCenterLeftCenter.setLayout(new GridLayout(1,1));
		pCenterCenterCenterLeftLeft.add(new Label("--- 阿杜 -- 撕夜"));
		pCenterCenterCenterLeftLeft.add(new Label("--- 阿杜 -- 不要在喝醉时,才对我说你"));
		pCenterCenterCenterLeftLeft.add(new Label("--- 阿杜 -- 我在这里 "));

		pCenterCenterCenterLeftCenter.setLayout(new GridLayout(20,1));
		pCenterCenterCenterLeftCenter.add(new Label("141k  "));
		pCenterCenterCenterLeftCenter.add(new Label("89k"));
		pCenterCenterCenterLeftCenter.add(new Label("110k"));
		
		pCenterCenterCenterCenter.setLayout(new GridLayout());
	//	pCenterCenterCenterCenter.add(new Button("null"));

		pCenterCenterCenterRight.setLayout(new BorderLayout());
		pCenterCenterCenterRight.add(pCenterCenterCenterLeftRightLeft,BorderLayout.WEST);
		pCenterCenterCenterRight.add(pCenterCenterCenterLeftRightCenter,BorderLayout.CENTER);
		pCenterCenterCenterLeftRightLeft.setLayout(new GridLayout(20,1));
		pCenterCenterCenterLeftRightLeft.add(new Label("完成  "));
		pCenterCenterCenterLeftRightLeft.add(new Label("完成  "));
		pCenterCenterCenterLeftRightLeft.add(new Label("完成  "));


		pCenterCenterCenterLeftRightCenter.setLayout(new GridLayout(20,1));
		pCenterCenterCenterLeftRightCenter.add(new Label("4.46MB/4.46MB"));
		pCenterCenterCenterLeftRightCenter.add(new Label("3.36MB/3.36MB"));
		pCenterCenterCenterLeftRightCenter.add(new Label("5.61MB/6.16MB"));

		
		

//		pCenterCenter.add(new Label("阿杜  一首情歌(新歌)"));


		pDown.setLayout(new BorderLayout());
		pDown.add(new Panel(),BorderLayout.NORTH);
		pDown.add(new Panel(),BorderLayout.WEST);
		pDown.add(new Panel(),BorderLayout.EAST);
		pDown.add(pDownCenter,BorderLayout.CENTER);
		pDown.add(new Panel(),BorderLayout.SOUTH);

		pDownCenter.setLayout(new FlowLayout(FlowLayout.LEFT,10,1));
		pDownCenter.add(new Button("◆"));
		pDownCenter.add(new Button("↓↓↓"));
		pDownCenter.add(new Button("|≤"));
		pDownCenter.add(new Label("  阿杜    无法阻挡      都是月亮诺的货,那样的泪水太东东太                                             03:34"));
		pDownCenter.add(new Button("**"));
		pDownCenter.add(new Button("^^"));
		pDownCenter.add(new Label("-------------"));
	//	pUp.setBackground(new Color());
		pCenterUpTemp.setBackground(new Color(230,251,251));
		tempPanel3.setBackground(new Color(230,251,251));
		pCenterLeftUp.setBackground(new Color(230,251,251));
		pCenter.setBackground(new Color(48,124,248));
		pUpRight.setBackground(new Color(236,255,254));
		pCenterLeft.setBackground(Color.WHITE);
		pCenterCenter.setBackground(Color.WHITE);
		setBounds(100,50,800,650);
		setBackground(new Color(126,228,231));
		show();
	}
	public static void main(String[] args) 
	{
		new KuGoo2007("KuGoo2007");
	}
}